import axios from '@/api/api.request'
/* cms栏目 */
// 获取列表
export const CmsColumnIndex = () => {
  return axios.request({
    url: '/CmsColumn/index',
    method: 'get'
  })
}
// 删除
export const CmsColumnDel = (info) => {
  return axios.request({
    url: '/CmsColumn/del',
    params: info,
    method: 'get'
  })
}
// 新增
export const CmsColumnAdd = (info) => {
  return axios.request({
    url: '/CmsColumn/add',
    data: info,
    method: 'post'
  })
}
// 编辑
export const CmsColumnEdit = (info) => {
  return axios.request({
    url: '/CmsColumn/edit',
    data: info,
    method: 'post'
  })
}
// 检查状态
export const CmsColumnChangeStatus = (info) => {
  return axios.request({
    url: '/CmsColumn/changeStatus',
    params: info,
    method: 'get'
  })
}
// 栏目列表 end
